<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

// you should use `$router`
/* @var think\Route $router */

$router->group(function () use ($router){
    $router->get('login', 'catchAdmin\phone\controller\login@index');
    $router->get('user/getthree', 'catchAdmin\phone\controller\User@getthree');
    $router->get('user/userinfo', 'catchAdmin\phone\controller\User@userinfo');
    $router->post('user/usershenhe', 'catchAdmin\phone\controller\User@usershenhe');
    $router->get('Project/list', 'catchAdmin\phone\controller\Project@index');
    $router->post('phone/upload', 'catchAdmin\phone\controller\Phoneupload@image');
//    执委提交项目
    $router->post('phone/tjgoodsinfo', 'catchAdmin\phone\controller\Goods@tjgoodsinfo');
    
    $router->get('user/mylist', 'catchAdmin\phone\controller\User@mylist');
    $router->get('user/addresslist', 'catchAdmin\phone\controller\User@addresslist');
    $router->get('user/myxiangmu', 'catchAdmin\phone\controller\User@myxiangmu');
    $router->post('user/tjtext', 'catchAdmin\phone\controller\User@tjtext');
    $router->post('user/tjbbs', 'catchAdmin\phone\controller\User@tjbbs');
    $router->get('phone/bbslist', 'catchAdmin\phone\controller\User@bbslist');
    $router->get('user/delbbsbyid', 'catchAdmin\phone\controller\User@delbbsbyid');
    $router->post('user/tjdy', 'catchAdmin\phone\controller\User@tjdy');
    $router->post('user/tjjy', 'catchAdmin\phone\controller\User@tjjy');
    $router->post('user/addtaizhang', 'catchAdmin\phone\controller\User@addtaizhang');
    $router->get('user/mytznum', 'catchAdmin\phone\controller\User@mytznum');
    $router->post('mini', 'catchAdmin\phone\controller\Mini@index');
    $router->post('phone/sendlvzhi', 'catchAdmin\phone\controller\User@sendlvzhi');
    $router->get('phone/getlvzhiinfo', 'catchAdmin\phone\controller\User@getlvzhiinfo');
    $router->get('phone/ce', 'catchAdmin\phone\controller\Ce@ce');
    $router->post('user/addzzinfo', 'catchAdmin\phone\controller\User@addzzinfo');
    $router->get('user/mytzinfo', 'catchAdmin\phone\controller\User@mytzinfo');

    $router->post('bm', 'catchAdmin\phone\controller\Bm@index');

//    $router->resource('user/shidaisq', 'catchAdmin\phone\controller\User@shidaisq');
//    $router->resource('user/zcuser', 'catchAdmin\phone\controller\User@zcuser');
//    $router->resource('user/zcuser1', 'catchAdmin\phone\controller\User@zcuser1');
//    $router->resource('shopphone/shopinfo', 'catchAdmin\phone\controller\Shopphone@shopinfo');
//    $router->resource('shop/zcshop', 'catchAdmin\phone\controller\User@zcshop');
//    $router->resource('shopphone/searchuser', 'catchAdmin\phone\controller\Shopphone@searchuser');
//    $router->resource('shopphone/tjspm', 'catchAdmin\phone\controller\Shopphone@tjspm');
//    $router->resource('shopphone/xiangdan', 'catchAdmin\phone\controller\Shopphone@xiangdan');
//    $router->resource('shopphone/tjdushu', 'catchAdmin\phone\controller\Shopphone@tjdushu');
//    $router->resource('shopphone/codelist', 'catchAdmin\phone\controller\Shopphone@codelist');
//    $router->resource('shopphone/userlist', 'catchAdmin\phone\controller\Shopphone@userlist');
//    $router->resource('shopphone/shopinfos', 'catchAdmin\phone\controller\Shopphone@shopinfos');
//    $router->get('shopphone/zzjl', 'catchAdmin\phone\controller\Shopphone@zzjl');
//    $router->get('shopphone/getcodejl', 'catchAdmin\phone\controller\Shopphone@getcodejl');
//    $router->resource('daili/dailiinfo', 'catchAdmin\phone\controller\Daili@dailiinfo');
//    $router->resource('daili/shoplist', 'catchAdmin\phone\controller\Daili@shoplist');
//    $router->resource('daili/userlist', 'catchAdmin\phone\controller\Daili@userlist');
//    $router->resource('daili/chacode', 'catchAdmin\phone\controller\Daili@chacode');
//    $router->resource('daili/getnewsdaili', 'catchAdmin\phone\controller\Daili@getnewsdaili');
//    $router->get('daili/qxorder', 'catchAdmin\phone\controller\Daili@qxorder');
//    $router->resource('daili/buycode', 'catchAdmin\phone\controller\Daili@buycode');
//    $router->get('daili/hbcode', 'catchAdmin\phone\controller\Daili@hbcode');
//    $router->get('daili/czjl', 'catchAdmin\phone\controller\Daili@czjl');
//    $router->get('daili/hbjl', 'catchAdmin\phone\controller\Daili@hbjl');
//    $router->resource('shidai/zcshidai', 'catchAdmin\phone\controller\Daili@zcshidai');
//    $router->resource('shop/getshopnews', 'catchAdmin\phone\controller\Shopphone@getshopnews');
//    $router->resource('tuiguang/myinfo', 'catchAdmin\phone\controller\Tuiguang@myinfo');
//    $router->resource('tuiguang/tg1', 'catchAdmin\phone\controller\Tuiguang@tg1');
//    $router->get('tuiguang/tx', 'catchAdmin\phone\controller\Tuiguang@tx');
//    $router->get('tuiguang/tx1', 'catchAdmin\phone\controller\Tuiguang@tx1');
//    $router->get('shopphone/zljl', 'catchAdmin\phone\controller\Shopphone@zljl');
//    $router->get('tuiguang/sqjl', 'catchAdmin\phone\controller\Tuiguang@sqjl');
//    $router->get('tuiguang/sdtg', 'catchAdmin\phone\controller\Tuiguang@sdtg');
//    $router->get('tuiguang/dlinfo', 'catchAdmin\phone\controller\Tuiguang@dlinfo');
//    $router->get('tuiguang/txjl', 'catchAdmin\phone\controller\Tuiguang@txjl');
//    $router->resource('orderno', 'catchAdmin\phone\controller\Orderno@index');
//    $router->resource('orderno2', 'catchAdmin\phone\controller\Orderno2@index');
//    $router->get('user/mydushu', 'catchAdmin\phone\controller\User@mydushu');
//    $router->get('user/buyvip', 'catchAdmin\phone\controller\User@buyvip');
//    //业务代表申请5个体验
//    $router->get('daili/apply', 'catchAdmin\phone\controller\Daili@apply');
//    $router->get('daili/mytycode', 'catchAdmin\phone\controller\Daili@mytycode');
//    //用户
//    $router->resource('user/vrinfo', 'catchAdmin\phone\controller\User@vrinfo');
//    $router->get('app/list', 'catchAdmin\phone\controller\AppApi@getList');
//    $router->get('app/getVideoList', 'catchAdmin\phone\controller\AppApi@getVideoList');
//    $router->get('app/cateList', 'catchAdmin\phone\controller\AppApi@cateList');
//    $router->post('app/checkCode', 'catchAdmin\phone\controller\AppApi@checkCode');
//    $router->get('app/version', 'catchAdmin\phone\controller\AppApi@version');

});
